{# /Symfony/src/Site/ProjetBundle/Resources/views/Default/ajouterProjet.html.twig #}
{# Author : Brett CHOQUET #}


{% extends "::layout.html.twig" %}
{% block title %}
Ajout - {{ parent() }}
{% endblock %}



{% block body %}

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Ajout de projet</h3>
  </div>
  <div class="panel-body">
    <form action="{{ path('site_projet_ajouter_projet') }}" method="post" {{ form_enctype(form) }}  role="form" class="form-horizontal">
      {{ form_widget(form) }}
      <div class="form-group" style="margin-left:1px;margin-right:1px">
	<label for="ue">UE:</label>
	<select required name="ue" class="form-control">
	  {% for ue in listeUe %}
	  <option value="{{ ue.id }}" >{{ ue.code }} </option>
	  {% endfor %}
	</select>

	    
      <button style="margin:auto" type="submit" class="btn btn-success"> Valider </button>
      <button type="reset" class="btn btn-danger"> Recommencer </button>
    </form>    
  </div>
</div>

{% endblock %}



